package com.haina.shop.vo;

import com.haina.shop.dto.CouponOrderDto;
import com.haina.shop.dto.ShopCartOrderDto;
import com.haina.shop.dto.UserAddrDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class OrderConfirmVO{
    private BigDecimal actualTotal;//	实际总值	number(double)
    private BigDecimal total;//	商品总值	number(double)
    private Integer totalCount;//	商品总数	integer(int32)
    private BigDecimal orderReduce;//	订单优惠金额(所有店铺优惠金额相加)	number(double)
    private UserAddrDto userAddr;//	地址Dto	UserAddrDto	UserAddrDto
    private List<ShopCartOrderDto> shopCartOrders;//	每个店铺的购物车信息	array	ShopCartOrderDto
    private List<CouponOrderDto> coupons;//	整个订单可以使用的优惠券列表	array	CouponOrderDto
}
